package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zhuyonggang
 * @DateTime: 2021/9/9 0:11
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.example"})
@MapperScan(basePackages = "com.example.mapper")
public class MysqlDemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(MysqlDemoApplication.class, args);
    }
}
